package com.ty.springbootshiro.mapper;


import com.ty.springbootshiro.entity.Right;
import com.ty.springbootshiro.entity.Role;

import java.util.List;

public interface RightMapper {

    public List<Right> findRightsByRolesOrderByRightCode(Role role);
    //角色增删改查
    public List<Role> findAllRoles();
    //权限查询
    public List<Right> findAllRights();
}
